<?php
    //Lay danh sach menu
    $content = array();
    $opt = array(
        'conditions' => array('MenuLink.menu_id' => 'main-menu','MenuLink.enabled' => 1,'NOT' => array('MenuLink.id' => array(6,7))),
        'find' => 'threaded',
        'order' => array('MenuLink.rght' => 'asc')
    );
    $content = $this->String->get_data('Menu','MenuLink',$opt); 
    //debug($content);exit;
?>
<?php if(!empty($content)):?>
    <div class="footer-content row">
        <ul class="footer-sitemap-lst">
            <?php foreach($content as $key => $values):?>
                <li class="col-lg-cus5">
                    <h2 class="tit-ft"><a href="<?php echo $values['MenuLink']['path'];?>" class="wt-lk"><?php echo $values['MenuLink']['title'];?></a></h2>
                        <?php if(!empty($values['children'])):?>
                            <ul class="site-map">
                                <?php foreach($values['children'] as $childKey => $childValues):?>
                                    <li class="item"><a href="<?php echo $childValues['MenuLink']['path'];?>" class="wt-lk"><?php echo $childValues['MenuLink']['title'];?></a></li>
                                <?php endforeach;?>
                            </ul>
                        <?php endif;?>
                </li>
            <?php endforeach;?>
        </ul>
        <div class="bt-footer-content">
            <p class="ftt">Copyright &copy; 2009 - 2014 U.S. Investment Services (USIS)</p>
        </div>
    </div>
    <?php endif;?>